'use strict';
/**
 * @name: 初始化 request
 * @description: 初始化一些特定的请求
 * @version: 0.0.1
 * @author: xiech
 * @Date: 2020-12-14 10:31:26
 * @LastEditors: xiech
 * @LastEditTime: 2020-12-14 10:31:28
 */

// top接口初始化
const mf_taobaotop = require('./mftaobaotop/index.js');

// 初始化所有的请求模块
const initrequest = async ctx => {
  if(!ctx.mfutil)  ctx.mfutil = {};
  ctx.mfutil.requset = {};
  // top接口初始化
  await mf_taobaotop.initTaobaoTop(ctx);
}

module.exports = {
  initRequest: initrequest,
  taobaoTop: mf_taobaotop,
};